package com.theyeasy.dvmini.model;

import java.util.Date;

import javax.persistence.Id;

public class Fans {
	@Id
	private Integer id;

	private Integer fanstype;

	private String miniopenid;

	private String nickname;

	private String logo;

	private Integer parentfansid;

	private Integer salesid;

	private Date createdtime;

	private Date lastlogintime;

	private Double lng;

	private Double lat;

	private String province;
	private String city;
	private String district;
	private String formattedAddress;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getFanstype() {
		return fanstype;
	}

	public void setFanstype(Integer fanstype) {
		this.fanstype = fanstype;
	}

	public String getMiniopenid() {
		return miniopenid;
	}

	public void setMiniopenid(String miniopenid) {
		this.miniopenid = miniopenid == null ? null : miniopenid.trim();
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname == null ? null : nickname.trim();
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo == null ? null : logo.trim();
	}

	public Integer getParentfansid() {
		return parentfansid;
	}

	public void setParentfansid(Integer parentfansid) {
		this.parentfansid = parentfansid;
	}

	public Integer getSalesid() {
		return salesid;
	}

	public void setSalesid(Integer salesid) {
		this.salesid = salesid;
	}

	public Date getCreatedtime() {
		return createdtime;
	}

	public void setCreatedtime(Date createdtime) {
		this.createdtime = createdtime;
	}

	public Date getLastlogintime() {
		return lastlogintime;
	}

	public void setLastlogintime(Date lastlogintime) {
		this.lastlogintime = lastlogintime;
	}
	
	public Double getLng() {
		return lng;
	}

	public void setLng(Double lng) {
		this.lng = lng;
	}

	public Double getLat() {
		return lat;
	}

	public void setLat(Double lat) {
		this.lat = lat;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getFormattedAddress() {
		return formattedAddress;
	}

	public void setFormattedAddress(String formattedAddress) {
		this.formattedAddress = formattedAddress;
	}

	@Override
	public String toString() {
		return "Fans [id=" + id + ", fanstype=" + fanstype + ", miniopenid=" + miniopenid + ", nickname=" + nickname
				+ ", logo=" + logo + ", parentfansid=" + parentfansid + ", salesid=" + salesid + ", createdtime="
				+ createdtime + ", lastlogintime=" + lastlogintime + ", lng=" + lng + ", lat=" + lat + ", province="
				+ province + ", city=" + city + ", district=" + district + ", formattedAddress=" + formattedAddress
				+ "]";
	}
	
	

}